﻿using System;
using System.Collections.Generic;

namespace Spencen.Mobile.Markup.Converters
{
    public interface IConverter
    {
        object ConvertFromString( string input, Type toType );
        string ConvertToString( object input );
        bool CanConvertFromString( string input, Type toType );
    }

    public interface IConverter<T>
    {
        T ConvertFromString( string input, Type toType );
        string ConvertToString( T input );
        bool CanConvertFromString( string input, Type toType );
    }
}
